import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @Author SEA
 * @Date 2021/07/09/14:38
 */
@SpringBootTest
public class test {
    @Test
    public void test(){
       /* int code =(int) (Math.random() * 10);
        System.out.println(code);*/
        String code = "";
        for (int i = 0; i <6 ; i++) {
            int codeItem =(int) (Math.random() * 10);
            code += codeItem+"";
        }
        System.out.println(code);
    }
}
